mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-24 22:14:39 +02:00
9 lines
226 B
Python
9 lines
226 B
Python
from mailu.sso import sso
|
|
import flask
|
|
|
|
@sso.route('/language/<language>', methods=['POST'])
|
|
def set_language(language=None):
|
|
if language:
|
|
flask.session['language'] = language
|
|
return flask.Response(status=200)
|