2020-07-16 23:10:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-02-28 17:43:40 +01:00
|
|
|
declare -A strings
|
|
|
|
|
2020-07-16 23:10:31 +02:00
|
|
|
logout
|
|
|
|
meta[redirect]='/'
|
|
|
|
source templates/head.sh
|
|
|
|
|
2021-02-28 17:43:40 +01:00
|
|
|
if [[ ${cfg[template]} == 'default' ]]; then
|
|
|
|
echo "Logged out successully. Redirecting.."
|
|
|
|
fi
|
|
|
|
|
2023-01-18 01:08:05 +01:00
|
|
|
render strings "${cfg[namespace]}/templates/themes/${cfg[template]}/logout.html"
|