You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package controller
|
|
|
|
import "github.com/taoshihan1991/imaptool/config"
|
|
|
|
func AuthLocal(username string,password string)bool{
|
|
account:=config.GetAccount()
|
|
if username==account["Username"] && password==account["Password"]{
|
|
return true
|
|
}
|
|
return false
|
|
}
|
|
|