mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-28 03:22:19 +02:00
Reduce bcrypt rounds for demo password to 10 to displaying the bcrypt process in the CPU profiling
This commit is contained in:
@ -117,7 +117,7 @@ func Load() (*Config, error) {
|
||||
|
||||
// If no credentials register, add demo account with password "demo"
|
||||
if len(cfg.Auth.Basic.Credentials) < 1 {
|
||||
cfg.Auth.Basic.Credentials["demo"] = "$2b$15$LRnG3eIHFlYIguTxZOLH7eHwbQC/vqjnLq6nDFiHSUDKIU.f5/1H6"
|
||||
cfg.Auth.Basic.Credentials["demo"] = "$2b$10$xuU7XFwmRX2CMgdSaA8rM.4Y8.BtRNzhUedwN0G8tCegDRNUERTCS"
|
||||
}
|
||||
|
||||
return cfg, nil
|
||||
|
Reference in New Issue
Block a user