Skip to content

admin: check already_authenticated! for new sessions#282

Open
parasharrk wants to merge 1 commit intojipiboily:masterfrom
parasharrk:already_authenticated
Open

admin: check already_authenticated! for new sessions#282
parasharrk wants to merge 1 commit intojipiboily:masterfrom
parasharrk:already_authenticated

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!

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.

2 participants