class urn_perun_entityless_attribute_def_def_nonAuthzPwdResetMailTemplate_namespace extends EntitylessAttributesModuleAbstract {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl perunSession, String key, Attribute attribute) throws WrongAttributeValueException {
		if (attribute.getValue() == null) return;

		if (!attribute.valueAsString().contains("{link}")) {
			throw new WrongAttributeValueException(attribute, key, "value doesn't contain contain tag {link}");
		}
	}

}