rbac/www/user/logout.dspy
2025-01-03 16:24:32 +08:00

24 lines
344 B
Plaintext

await forget_user()
return {
"widgettype":"Message",
"options":{
"title":"Message",
"message":"logout success",
"auto_open":true,
"anthor":"cc",
"timeout":3
},
"binds":[
{
"wid":"self",
"event":"dismissed",
"actiontype":"urlwidget",
"target":"window",
"options":{
"url":entire_url('/index.ui')
}
}
]
}