mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 02:49:52 +03:00
Removed the "token" word. Now you can enable radius auth with #fqdn
This commit is contained in:
parent
4c02511430
commit
6433e53290
@ -2049,8 +2049,8 @@ bool ServerAccept(CONNECTION *c)
|
||||
domain = strchr (username, '@');
|
||||
if (domain != NULL) {
|
||||
domain++;
|
||||
tokenized = (char*)malloc((strlen(domain)+6+1) * sizeof(char));
|
||||
sprintf(tokenized,"token#%s",domain);
|
||||
tokenized = (char*)malloc((strlen(domain)+2) * sizeof(char));
|
||||
sprintf(tokenized,"#%s",domain);
|
||||
b = AcIsUser(hub, tokenized);
|
||||
if(b == false) {
|
||||
free(tokenized);
|
||||
|
Loading…
Reference in New Issue
Block a user