connected remotegameprivate and backend
This commit is contained in:
17
server/auth/auth_test.go
Normal file
17
server/auth/auth_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package auth
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Function to test if the password is hashed
|
||||
func TestHashPassword(t *testing.T) {
|
||||
Password, err := HashPassword("AKILAN1999")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
t.Fail()
|
||||
}
|
||||
fmt.Println("Password Hash")
|
||||
fmt.Println(Password)
|
||||
}
|
||||
Reference in New Issue
Block a user