Remove reference to help.html

This file has not been used since 50636b1c (25.06.12) and was completely
removed in be8c3470 (26.06.12).
All references to this file is now removed.

Signed-off-by: Henrik Austad <henrik@austad.us>
Add missing variable used by forwardToDisco

Signed-off-by: Henrik Austad <henrik@austad.us>
idp_select: correct function signature

The method uses the $nren object, and it is passed in when called,
but was not declared in the function template so not available.

Signed-off-by: Henrik Austad <henrik@austad.us>
drop nren_account_map_view as it is not used

Signed-off-by: Henrik Austad <henrik@austad.us>
MDB2Wrapper: make it possible to test for a column in a table

Signed-off-by: Henrik Austad <henrik@austad.us>
NRENAccount: move parsing of account to separate function

Signed-off-by: Henrik Austad <henrik@austad.us>
NRENAccount: do not use joins when login_account is NULL

Signed-off-by: Henrik Austad <henrik@austad.us>
NRENAccount: try to get login_account even if nrens is invalid

If the login_account field in table nrens is NULL, it is still possible
to have a login_account, with the keys not properly enforced.

This tries adds a 'semimanual crude fuzzy-something awful
not-quite-join' of nrens and account_map in an attempt to recover
gracefully from a corrupted table.

Signed-off-by: Henrik Austad <henrik@austad.us>
MDB2Wrapper: add correct number of arguments to function

Signed-off-by: Henrik Austad <henrik@austad.us>
table_create: update schema, remove account_map, add it to nrens

This makes the nrens-table a lot bigger, but it removes some redundancy
and we will not support more than one CA account pr NREN anyway, so
keeping it in a separate table was the wrong decision in the first place.

Signed-off-by: Henrik Austad <henrik@austad.us>
NRENAccount: handle both new and old format for account-information.

Signed-off-by: Henrik Austad <henrik@austad.us>
NRENAccount: save in the new format

Signed-off-by: Henrik Austad <henrik@austad.us>
Framework: add more verbose logging when SSP redirect fails due to AntiCSRF

Signed-off-by: Henrik Austad <henrik@austad.us>
bin: add script for migrating old accounts to new schema

Signed-off-by: Henrik Austad <henrik@austad.us>