mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
google oauth implmented
This commit is contained in:
2
main.go
2
main.go
@@ -47,6 +47,8 @@ func initialize() { // Client Mode Prereq Check
|
||||
var authProvider = auth.InitializeAuthProvider()
|
||||
if authProvider != "" {
|
||||
logic.Log("OAuth provider, "+authProvider+", initialized", 0)
|
||||
} else {
|
||||
logic.Log("no OAuth provider found or not configured, continuing without OAuth", 0)
|
||||
}
|
||||
|
||||
if servercfg.IsClientMode() != "off" {
|
||||
|
Reference in New Issue
Block a user