fix case where you login freeswitch/works
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16951 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d08a8309e0
commit
da2660a23f
|
@ -265,6 +265,7 @@ static abyss_bool is_authorized(const TSession * r, const char *command)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!zstr(globals.realm) && !zstr(globals.user) && !strcmp(user, globals.user)) {
|
if (!zstr(globals.realm) && !zstr(globals.user) && !strcmp(user, globals.user)) {
|
||||||
|
ok = 1;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue