{ '\0', NULL, "original_user" },
{ '\0', NULL, "original_username" },
{ '\0', NULL, "original_domain" },
+ { '\0', NULL, "owner_user" },
/* be sure to update AUTH_REQUEST_VAR_TAB_COUNT */
{ '\0', NULL, NULL }
if (username == NULL)
username = "";
- tab[0].value = escape_func(username, auth_request);
+ tab[0].value = tab[ALIAS(12)].value = escape_func(username, auth_request);
tab[1].value = escape_func(t_strcut(username, '@'),
auth_request);
tab[2].value = i_strchr_to_next(username, '@');
#define AUTH_REQUEST_VAR_TAB_USER_IDX 0
#define AUTH_REQUEST_VAR_TAB_USERNAME_IDX 1
#define AUTH_REQUEST_VAR_TAB_DOMAIN_IDX 2
-#define AUTH_REQUEST_VAR_TAB_COUNT 48
+#define AUTH_REQUEST_VAR_TAB_COUNT 49
extern const struct var_expand_table
auth_request_var_expand_static_tab[AUTH_REQUEST_VAR_TAB_COUNT+1];