Skip to content
Browse files

Don't need hardcoded admin users anymore.

  • Loading branch information...
1 parent f7f92f1 commit 9f84591c4b6ee7071198233fb75e09eec94f2373 @spraints committed Feb 18, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/typus/authentication/pickard_ayune.rb
View
6 lib/typus/authentication/pickard_ayune.rb
@@ -7,11 +7,7 @@ module PickardAyune
include Base
def authenticate
- if current_user.present?
- redirect_to root_path unless %W(spraints farmingengineer).include?(current_user.login_account.login)
- else
- require_user
- end
+ require_user
end
def admin_user

0 comments on commit 9f84591

Please sign in to comment.
Something went wrong with that request. Please try again.