mastodon/app/controllers/auth/sessions_controller.rb

9 lines
151 B
Ruby

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