forked from rDrama/rDrama
fds
parent
f6e0f4d244
commit
d6e6ee5b6d
|
@ -825,8 +825,9 @@ def settings_css_get(v):
|
|||
@auth_required
|
||||
@validate_formkey
|
||||
def settings_css(v):
|
||||
css = request.values.get("css").strip().replace('\\', '').strip()[:4000]
|
||||
if v.agendaposter: return {"error": "Agendapostered users can edit css!"}
|
||||
|
||||
css = request.values.get("css").strip().replace('\\', '').strip()[:4000]
|
||||
v.css = css
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
|
|
Loading…
Reference in New Issue