-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to require a "login refresh" in a controller method #40
Comments
Good idea but we might want to expand on it similar to how mandrill does it
|
Chris, I think that would be achievable by what Raf's proposing. you would just set up redirect in session and call this method from your controller any time you would require use to re-enter their creds. Or am I missing something? |
Sort I just ment that mandrill has a basic session and a more secure
|
What you're describing would be achievable with this. |
ah, gotcha |
The only thing Mandrill does is check how old your session is. If you login and then immediately go to Billing, they don't ask you to login again. That's exactly what I'm proposing here. The function would look something like this: For more sensitive pages, you could do: |
cool. This will for sure be useful On Thu, May 15, 2014 at 2:46 PM, Rafael Diaz-Tushman <
|
something like $this->requireIdentityRefresh()
which would force a user to login again and redirect back to the requested page.
You'd use something like this before granting access to account-management pages, the same way Github requires you to refresh your login each time you enter your Account Settings pages
The text was updated successfully, but these errors were encountered: