Added configuration option to enter max pin code lenght and hook to return it to ding_user