mastodon/app/controllers/auth/sessions_controller.rb
2016-03-26 01:14:37 +01:00

8 lines
151 B
Ruby

class Auth::SessionsController < Devise::SessionsController
layout 'auth'
def create
params[:user].merge!(remember_me: 1)
super
end
end