Diff of /mcore-src/trunk/mcore-tools/src/include/sessionauth.global.class.in
Parent Directory | Revision Log | Patch
revision 1248 by niro, Wed Feb 2 20:20:24 2011 UTC | revision 1306 by niro, Sun Feb 6 23:46:42 2011 UTC | |
---|---|---|
# | Line 97 validate_auth() | Line 97 validate_auth() |
97 | local passwdpass | local passwdpass |
98 | ||
99 | # return 0 if ${valid_auth=yes} - user alread authenticated | # return 0 if ${valid_auth=yes} - user alread authenticated |
100 | validate_session && return 0 | valid_session && return 0 |
101 | ||
102 | if [[ ! -f ${PASSWD} ]] | if [[ ! -f ${PASSWD} ]] |
103 | then | then |
# | Line 128 validate_auth() | Line 128 validate_auth() |
128 | fi | fi |
129 | } | } |
130 | ||
131 | validate_session() | valid_session() |
132 | { | { |
133 | if [[ ${valid_session} = yes ]] | if [[ ${valid_session} = yes ]] |
134 | then | then |
|