You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-13 01:20:28 +02:00
Fix the language switcher
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from mailu.sso import sso
|
||||
import flask
|
||||
|
||||
@sso.route('/language/<language>', methods=['POST'])
|
||||
@sso.route('/language/<language>', methods=['GET','POST'])
|
||||
def set_language(language=None):
|
||||
if language:
|
||||
flask.session['language'] = language
|
||||
|
Reference in New Issue
Block a user