Skip to content
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

admin: check already_authenticated! for new sessions #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

parasharrk
Copy link

I have added already_authenticated! check for new session requests, and corrected the skip_before_filter :authenticate_user!.

Please have a look!

@@ -19,4 +20,9 @@ def destroy
session[:monologue_user_id] = nil
redirect_to admin_url, notice: t("monologue.admin.sessions.messages.logged_out")
end

private
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent access modifiers like private.
Keep a blank line before and after private.

@parasharrk parasharrk force-pushed the already_authenticated branch 2 times, most recently from 5c68c97 to bfb3e9f Compare February 12, 2016 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants