feat: add admin logout

This commit is contained in:
Lakhan Samani
2021-12-31 23:06:06 +05:30
parent 192070c18e
commit 152ab6dfd5
7 changed files with 111 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ func GetAdminCookie(gc *gin.Context) (string, error) {
return cookie.Value, nil
}
func DeleteAdminCookie(gc *gin.Context, token string) {
func DeleteAdminCookie(gc *gin.Context) {
secure := true
httpOnly := true
host, _ := GetHostParts(constants.EnvData.AUTHORIZER_URL)