diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index e9efb36..f4cb15c 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -41,7 +41,7 @@ class UsersController < ApplicationController sign_in @user if @user.id == 1 # This is the first user, so give them all the power - @user.permissions = 0xFFFFFFFF + @user.permissions = 0x7FFFFFFF @user.save end format.html { redirect_to root_path, notice: 'User was successfully created.' } |