mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix empty flash message on the settings page (#3345)
This commit is contained in:
parent
9642601126
commit
ecef03bb15
@ -12,13 +12,13 @@ class Auth::SessionsController < Devise::SessionsController
|
||||
def create
|
||||
super do |resource|
|
||||
remember_me(resource)
|
||||
flash[:notice] = nil
|
||||
flash.delete(:notice)
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
super
|
||||
flash[:notice] = nil
|
||||
flash.delete(:notice)
|
||||
end
|
||||
|
||||
protected
|
||||
|
Loading…
x
Reference in New Issue
Block a user