mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
github auth added
This commit is contained in:
@@ -233,6 +233,8 @@ func FetchAuthSecret(key string, secret string) (string, error) {
|
||||
if err != nil {
|
||||
if err = database.Insert(key, secret, database.GENERATED_TABLE_NAME); err != nil {
|
||||
return "", err
|
||||
} else {
|
||||
return secret, nil
|
||||
}
|
||||
}
|
||||
return record, nil
|
||||
|
Reference in New Issue
Block a user