1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 10:59:53 +03:00

Removed the "token" word. Now you can enable radius auth with #fqdn

This commit is contained in:
Andrea Lora 2014-06-17 14:47:39 +02:00
parent 4c02511430
commit 6433e53290

View File

@ -2049,8 +2049,8 @@ bool ServerAccept(CONNECTION *c)
domain = strchr (username, '@'); domain = strchr (username, '@');
if (domain != NULL) { if (domain != NULL) {
domain++; domain++;
tokenized = (char*)malloc((strlen(domain)+6+1) * sizeof(char)); tokenized = (char*)malloc((strlen(domain)+2) * sizeof(char));
sprintf(tokenized,"token#%s",domain); sprintf(tokenized,"#%s",domain);
b = AcIsUser(hub, tokenized); b = AcIsUser(hub, tokenized);
if(b == false) { if(b == false) {
free(tokenized); free(tokenized);