mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Remove sudo mode and add password confirmation when changing email address
closes #674
This commit is contained in:
@@ -23,7 +23,6 @@ class SessionAuthenticator
|
||||
{
|
||||
$session->migrate();
|
||||
$session->set('user_id', $userId);
|
||||
$session->set('sudo_expiry', new DateTime('+30 minutes'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user