mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-16 10:59:53 +02:00
8 lines
205 B
Python
8 lines
205 B
Python
from mailu.sso import sso
|
|
import flask
|
|
|
|
@sso.route('/language/<language>', methods=['POST'])
|
|
def set_language(language=None):
|
|
flask.session['language'] = language
|
|
return flask.Response(status=200)
|