mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 21:32:15 +02:00
Reduce bcrypt rounds for demo password to 10 to displaying the bcrypt process in the CPU profiling
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
|
||||
func TestBasicLogin(t *testing.T) {
|
||||
basicCredentials := make(map[string]string)
|
||||
basicCredentials["demo"] = "$2b$15$LRnG3eIHFlYIguTxZOLH7eHwbQC/vqjnLq6nDFiHSUDKIU.f5/1H6"
|
||||
basicCredentials["demo"] = "$2b$10$xuU7XFwmRX2CMgdSaA8rM.4Y8.BtRNzhUedwN0G8tCegDRNUERTCS"
|
||||
|
||||
// Test good credentials
|
||||
backend, _ := New(&Options{Credentials: basicCredentials})
|
||||
|
Reference in New Issue
Block a user