PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Any recommendations on adding 2fa *only* for admin accounts?

Solved
alexmorning

Mar 20th, 2024 01:39 PM

Every solution I find for this is just about adding 2fa for all users, but that is way overkill for non-admin accounts for my website. Does anyone have any suggestions on setting this up just for the admin accounts?

Thanks

bobbyiliev

Mar 21st, 2024 01:39 AM

Best Answer

Hey!

Is this regarding the Voyager admin? If so, I've not done this in the past but there seems to be a package for this:

https://github.com/emptynick/voyager-2fa

Though I've not personally tested this so can't really confirm if it is actually working.

alexmorning

Apr 30th, 2024 01:28 AM

Thank you very much, I didn't notice that you replied to this :). I'm gonna try it out and reply again about whether or not it works just in case it helps someone later.

bobbyiliev

Apr 30th, 2024 03:01 AM

Sounds good! Let me know how it goes!