pre-check OTP token

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Jul 5 10:55:59 CEST 2011


> 
> 
> 
> 	if (User-Password !~ /^[0-9]{10}$/) {
> 		update reply {
> 			Reply-Message := "ZOMG, TEH WORLD IS ENDINGS!"
> 		}
> 		reject
> 	}
> 

If (Ceiling-Cat) {
	update reply {
		Reply-Message := "OMG, STOP WATCHINS ME BATINGS"
	}
}

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter




More information about the Freeradius-Users mailing list