mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
display a flash message when an user is coming back
This commit is contained in:
parent
e97d460a4a
commit
e0a40a0c7c
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ def add_member():
|
|||
if person:
|
||||
person[0].activated = True
|
||||
db.session.commit()
|
||||
flash("%s is part of this project again" % person[0].name)
|
||||
return redirect(url_for("list_bills"))
|
||||
|
||||
db.session.add(Person(name=form.name.data, project=g.project))
|
||||
|
|
Loading…
Reference in a new issue