emreakay / CodeIgniter-Aauth

Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
http://emreakay.com
GNU Lesser General Public License v3.0
394 stars 235 forks source link

Mode Maintenance #192

Open ghost opened 7 years ago

ghost commented 7 years ago

It would be great if this option existed within the authentication system, a maintenance mode for the system.

REJack commented 7 years ago

What should the maintenance mode do or change?

ghost commented 7 years ago

When the maintenance mode is activated the whole system is closed, but only the system administrators would have access.

perenstrom commented 7 years ago

Isn't that a feature on the program side of things and not in the authentication module? You have an internal flag for maintenance mode which makes you authentication checks only care about admin status?

REJack commented 7 years ago

I think it would be better to create a config option to allow login only for admins.

REJack commented 7 years ago

I'll add this feature with v3.0.0