mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Fix empty flash message on the settings page (#3345)
This commit is contained in:
parent
9642601126
commit
ecef03bb15
1 changed files with 2 additions and 2 deletions
|
@ -12,13 +12,13 @@ class Auth::SessionsController < Devise::SessionsController
|
||||||
def create
|
def create
|
||||||
super do |resource|
|
super do |resource|
|
||||||
remember_me(resource)
|
remember_me(resource)
|
||||||
flash[:notice] = nil
|
flash.delete(:notice)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
super
|
super
|
||||||
flash[:notice] = nil
|
flash.delete(:notice)
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
Loading…
Reference in a new issue