mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-06 14:55:19 -04:00
Text View, View & Filter All Annotations, and More OPDS Love (#4062)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -50,7 +50,7 @@ public class LicenseController(
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Has any license registered with the instance. Does not check Kavita+ API
|
||||
/// Has any license registered with the instance. Does not validate against Kavita+ API
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Authorize("RequireAdminRole")]
|
||||
@@ -117,6 +117,16 @@ public class LicenseController(
|
||||
return BadRequest(localizationService.Translate(User.GetUserId(), "unable-to-reset-k+"));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Resend the welcome email to the user
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("resend-license")]
|
||||
public async Task<ActionResult<bool>> ResendWelcomeEmail()
|
||||
{
|
||||
return Ok(await licenseService.ResendWelcomeEmail());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates server license
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user