mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/login: don't show pw reset w/o working smtp
This commit is contained in:
@ -43,6 +43,7 @@ function getConfig() {
|
||||
console.warn('Local config does not exist, ignoring');
|
||||
}
|
||||
|
||||
config.canSendMails = !!config.smtp.host;
|
||||
delete config.secret;
|
||||
delete config.smtp;
|
||||
delete config.database;
|
||||
|
Reference in New Issue
Block a user