Skip to content

Commit 7ed11d4

Browse files
authored
Merge pull request #303 from axelhodler/fix_decryption_in_ui
Fix decryption in Encryption UI
2 parents 9d1bcea + 411abec commit 7ed11d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/webapp/app/registry/encryption/encryption.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class JhiEncryptionComponent implements OnInit, OnDestroy {
3535
}
3636

3737
decrypt() {
38-
this.encryptionService.decrypt(this.encryptedText).subscribe(
38+
this.encryptionService.decrypt(this.encryptedText.replace(/^{cipher}/, '')).subscribe(
3939
(response) => {
4040
this.result = response;
4141
this.textToEncrypt = response;

0 commit comments

Comments
 (0)