mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
restore behavior from the 1.4 branch... manager users created via users.conf should default to *all* permissions, not none
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1049,6 +1049,10 @@ static int authenticate(struct mansession *s, const struct message *m)
|
||||
ast_log(LOG_NOTICE, "%s tried to authenticate with nonexistent user '%s'\n", ast_inet_ntoa(s->sin.sin_addr), user);
|
||||
return -1;
|
||||
}
|
||||
if (!readperm)
|
||||
readperm = -1;
|
||||
if (!writeperm)
|
||||
writeperm = -1;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user