# HG changeset patch # User Timo Sirainen # Date 1173400031 -7200 # Node ID c1d7e9493f0841945768e571f08f652dc761bc90 # Parent 24c2eb87f4d0dee32e4366fc9e1670baf8ed37c0 Added %m = mechanism name diff -r 24c2eb87f4d0 -r c1d7e9493f08 src/auth/auth-request.c --- a/src/auth/auth-request.c Fri Mar 09 00:08:34 2007 +0200 +++ b/src/auth/auth-request.c Fri Mar 09 02:27:11 2007 +0200 @@ -1075,6 +1075,7 @@ { 'p', NULL }, { 'w', NULL }, { '!', NULL }, + { 'm', NULL }, { '\0', NULL } }; struct var_expand_table *tab; @@ -1109,6 +1110,8 @@ tab[9].value = auth_request->passdb == NULL ? "" : dec2str(auth_request->passdb->id); } + tab[10].value = auth_request->mech == NULL ? "" : + auth_request->mech->mech_name; return tab; }